<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div>
    <h1>{{info}}</h1>
</div>
<!--引入vue.js框架文件-->
<script src="js/vue.min.js"></script>
<script>
    //创建VUE对象
    let v = new Vue({
        el: "body>div",//设置Vue框架管理的范围
        data: {
            info: "hello Vue!"
        }
    })
    setTimeout(function () {
        v.info = "值改变了!";
    }, 3000);
</script>
</body>
</html>